package club.cearnach.api.service;

import club.cearnach.entity.Visitor;
import club.cearnach.api.form.PageBean;
import org.springframework.data.domain.Page;

/**
 * @author 阮胜
 * @date 2018/4/2 15:31
 */
public interface IVisitorService {
    Visitor save(Visitor visitor);
    long count();

    long countByVisitDate();

    Page<Visitor> findAllOrderByVisitDate(PageBean pageBean);
}